﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NotificationHistoryByToday.aspx.cs" Inherits="GPSTrackingWebsiteManager.Pages.NotificationHistoryByToday" %>

<!DOCTYPE html>
<link href="../Css/GPSTrackingWebsite.css" rel="stylesheet" />
<script src="../Javascript/WindowMessageManager.js"></script>
<script src="../Javascript/ObjectsV2.js"></script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Historial de Notificaciones por Día</title>
</head>
<body onload="">
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"  EnablePageMethods="true" EnablePartialRendering="true"></telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
				<telerik:AjaxSetting AjaxControlID="AjaxControlID1">
					<UpdatedControls>
						<telerik:AjaxUpdatedControl ControlID="Loading" LoadingPanelID="RadAjaxLoadingPanel1" />
					</UpdatedControls>
				</telerik:AjaxSetting>
			</AjaxSettings>
        </telerik:RadAjaxManager>
        
        
        <telerik:RadTabStrip ID="rtsNotifications" runat="server" SelectedIndex="0" MultiPageID="rmpNotifications" Skin="Metro"></telerik:RadTabStrip>
        <telerik:RadMultiPage ID="rmpNotifications" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="rpvNotifications" runat="server">

                <table style="width: 500px; text-align: left">
					<tr>
                        <td>
							<fieldset>
								<legend>Notificaciones</legend>
								<telerik:RadGrid ID="rgNotificationsGrid" runat="server" AllowMultiRowSelection="False" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" Height="170px" OnNeedDataSource="rgNotificationsGrid_NeedDataSource" Skin="Metro" Width="570px">
									<ClientSettings>
										<Selecting AllowRowSelect="True" />
										<ClientEvents OnRowClick="" />
										<Scrolling AllowScroll="True" UseStaticHeaders="False" />
									</ClientSettings>
									<MasterTableView ClientDataKeyNames="GPSImei, NotificationID" NoMasterRecordsText="No hay Notificaciones registradas">
										<CommandItemSettings ExportToPdfText="Export to PDF" />
										<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
										</RowIndicatorColumn>
										<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
										</ExpandCollapseColumn>
										<Columns>
											<telerik:GridBoundColumn DataField="GPSImei" FilterControlAltText="Filter Description column" HeaderText="GPSImei" UniqueName="GPSImei" Visible="false">
											</telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Name" FilterControlAltText="Filter Description column" HeaderText="Name" UniqueName="Name" Visible="true">
											</telerik:GridBoundColumn>
											<telerik:GridBoundColumn DataField="NotificationID" FilterControlAltText="Filter Description column" HeaderText="NotificationID" Visible="false">
											</telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Datetime" FilterControlAltText="Filter Description column" HeaderText="Fecha" Visible="true">
											</telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="NotificationText" FilterControlAltText="Filter Description column" HeaderText="Notificación" Visible="true">
											</telerik:GridBoundColumn>
										</Columns>
									</MasterTableView>
									<FilterMenu EnableImageSprites="true">
									</FilterMenu>
								</telerik:RadGrid>
							</fieldset>
						</td>
                    </tr>
                </table>

            </telerik:RadPageView>
        </telerik:RadMultiPage>

        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"></telerik:RadAjaxLoadingPanel>
    </form>
</body>
</html>
